package com.unicom.room.service;

import java.util.List;

import com.unicom.room.mapper.IncomeStatisticsMapper;
import com.unicom.room.model.IncomeStatisticsVo;
import com.unicom.room.model.roomtypeVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
@Transactional
public class IncomeStatisticsService {

	@Autowired
	private IncomeStatisticsMapper incomeStatisticsMapper;


	public List<IncomeStatisticsVo> getIncome() {
		return incomeStatisticsMapper.getIncome();
	}

	public List<roomtypeVo> getRoomTypeList() {
		return incomeStatisticsMapper.roomTypeList();
	}

	public int getDeleteCount(){
		return incomeStatisticsMapper.roomDeleted();
	}

}
